﻿using FluentNHibernate.Mapping;

namespace MVVMtutorialAdvanced.Web
{
	public class Country : EntityBase<Country>
	{
		//public virtual int Id { get; set; }
		public virtual string Alias { get; set; }
		public virtual string IsoCode { get; set; }
	}

	public class CountryMap : ClassMap<Country>
	{
		public CountryMap()
		{
			Id(x => x.Id);
			Map(x => x.Alias);
			Map(x => x.IsoCode);
		}
	}
}